content
Enum Chassis
java.lang.Object
java.lang.Enum<Chassis>
content.Chassis
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Chassis>
public enum Chassis
- extends java.lang.Enum<Chassis>
This enum class contains the chassis type for each constructor (team).
Allowing Duplicates, several teams can have same chassis.
- Author:
- Dolev&Morad
|
Method Summary |
static Chassis |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Chassis[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
BGP_001
public static final Chassis BGP_001
TF109
public static final Chassis TF109
F1_09
public static final Chassis F1_09
R29
public static final Chassis R29
FW31
public static final Chassis FW31
STR4
public static final Chassis STR4
RB5
public static final Chassis RB5
MP4_24
public static final Chassis MP4_24
VJM02
public static final Chassis VJM02
F60
public static final Chassis F60
values
public static final Chassis[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Chassis c : Chassis.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Chassis valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name